import com.orphan.AuditMain;
import com.orphan.audit.po.GoodsInfo;
import com.orphan.audit.po.SupplierInfo;
import com.orphan.audit.service.IGoodsInfoService;
import com.orphan.audit.service.ISupplierCheckService;
import com.orphan.audit.service.ISupplierInfoService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest(classes = AuditMain.class)
public class SupplierCheck {


    @Autowired
    ISupplierCheckService supplierCheckService;
    @Autowired
    ISupplierInfoService supplierInfoService;
    @Autowired
    IGoodsInfoService goodsInfoService;



    @Test
    public void getAll(){
        List<com.orphan.audit.po.SupplierCheck> list = supplierCheckService.findAll();
        System.out.println(list);
    }

    @Test
    public void findAll(){
        List<SupplierInfo> all = supplierInfoService.findAll();
        System.out.println(all);
    }
}
